import { IForm } from '@/base-ui/form'
export const modelConfig: IForm = {
  formItems: [
    {
      field: 'id',
      type: 'input',
      lable: 'id',
      placeholder: '请输入部门id',
      otherOptions: {
        disabled: true
      },
      isHidden: true
    },
    {
      field: 'name',
      type: 'input',
      lable: '部门名称',
      placeholder: '请输入部门名称',
      rules: [
        {
          required: true,
          message: '部门不能为空',
          trigger: 'blur'
        }
      ]
    }
  ],
  labelWidth: '100px',
  itemStyle: {
    padding: '10px 0px'
  },
  colLayout: {
    span: 24
  },
  title: '部门'
}
